<html>
<head>
<title>My Form</title>
</head>
<body>

<?php echo validation_errors(); ?>

<?php echo form_open('welcome/edit'); ?>

<h5>Username</h5>
<input type="text" name="username" value="<?php echo set_value('username', $user['username']); ?>" size="50" />

<h5>Password</h5>
<input type="text" name="password" value="<?php echo set_value('password', $user['password']); ?>" size="50" />

<h5>Password Confirm</h5>
<input type="text" name="passconf" value="<?php echo set_value('passconf'); ?>" size="50" />

<h5>Email Address</h5>
<input type="text" name="email" value="<?php echo set_value('email', $user['email']); ?>" size="50" />

<h5>test</h5>

<input type="radio" name="myradio" value="1" <?php echo my_set_radio('myradio', "1", true); ?> />
<input type="radio" name="myradio" value="2" <?php echo my_set_radio('myradio', "2"); ?> />

<div><input type="submit" value="Submit" /></div>

</form>

</body>
</html>
